﻿using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using System;
using System.Collections.Generic;

namespace Xyz.Core.Data.Migrations
{
    public partial class updateone : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.CreateTable(
                name: "Hbxx",
                columns: table => new
                {
                    MID = table.Column<int>(nullable: false)
                        .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn),
                    ATime = table.Column<string>(maxLength: 50, nullable: true),
                    AaTime = table.Column<string>(maxLength: 50, nullable: true),
                    Ac = table.Column<string>(maxLength: 50, nullable: true),
                    BTime = table.Column<string>(maxLength: 50, nullable: true),
                    BbTime = table.Column<string>(maxLength: 50, nullable: true),
                    DayTime = table.Column<string>(maxLength: 50, nullable: true),
                    Delay = table.Column<string>(maxLength: 50, nullable: true),
                    End = table.Column<string>(maxLength: 50, nullable: true),
                    FTime = table.Column<string>(maxLength: 50, nullable: true),
                    Flightnum = table.Column<string>(maxLength: 50, nullable: true),
                    Starting_point = table.Column<string>(maxLength: 50, nullable: true),
                    Type = table.Column<string>(maxLength: 50, nullable: true)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_Hbxx", x => x.MID);
                });
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropTable(
                name: "Hbxx");
        }
    }
}
